import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询客户统计列表
export function listUser(data) {
  return request({
    url: '/customer/static/customerStaticList',
    method: 'post',
    data: data
  })
}

// 查询客户统计详细
export function getUser(userId) {
  return request({
    url: '/customer/static/' + parseStrEmpty(userId),
    method: 'get'
  })
}

// 修改客户统计
export function updateUser(data) {
  return request({
    url: '/customer/static/customerStaticUpdate',
    method: 'post',
    data: data
  })
}
